package com.app.web.goods.category;

import com.app.base.PoBean;

/**
 * Description
 * Created by 王伟
 * Date create on 11:25 2019/11/25.
 */
public class Category extends PoBean {

    public Category(int id,String name){
        this.setId(id);
        this.setName(name);
    }

    /**
     * 分类名
     */
    private String name;

    /**
     * 分类图标
     */
    private String icon;

    /**
     * 分类等级
     */
    private int level;

    /**
     * 父ID
     */
    private int pid;

    /**
     * 排序
     */
    private int sort;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
